Tertiary classification of communications

ABSTRACT

Information associated with a plurality of electronic communications associated with an entity is obtained. An entry including information associated with a given email address is generated in a whitelist. The entry including the information associated with the given email address is generated based at least in part on a determination, from the obtained information associated with the plurality of electronic communication associated with the entity, that at least a threshold number of electronic communications have been exchanged between the entity and the given email address, and that the at least threshold number of emails were exchanged during a period of time that exceeds a threshold period of time. Subsequent to generating the whitelist entry, an electronic communication to be classified is received. A classification of the received electronic communication is performed based at least in part on a determination of whether the received electronic communication corresponds to an entry in the whitelist.

CROSS REFERENCE TO OTHER APPLICATIONS

This application is a continuation of co-pending U.S. patent applicationSer. No. 13/765,630, entitled TERTIARY CLASSIFICATION OF COMMUNICATIONSfiled Feb. 12, 2013, which issued on Oct. 18, 2016 as U.S. Pat. No.9,473,437, which is incorporated herein by reference for all purposes,which claims priority to U.S. Provisional Patent Application No.61/597,972 entitled PROTECTING COMPUTER AND OTHER DEVICE USERS filedFeb. 13, 2012 and to U.S. Provisional Patent Application No. 61/729,991entitled DETERMINING RISK EXPOSURE AND AVOIDING FRAUD filed Nov. 26,2012, both of which are incorporated herein by reference for allpurposes.

BACKGROUND OF THE INVENTION

Individuals increasingly use electronic mail to communicate with oneanother for personal and business reasons. Unfortunately, unscrupulousindividuals can use electronic mail for nefarious purposes, such as tosend unwanted advertising email (e.g., SPAM) and perpetrate fraudagainst victims. Existing techniques for protecting legitimate emailusers generally rely on the blacklisting of certain terms (e.g.,“porn”), where the presence of a blacklisted term in a messageautomatically results in the classification of the message as SPAM. Suchtechniques can be readily defeated by the unscrupulous individual. Asone example, the unscrupulous individual may use terms that a humanwould recognize, such as “p0rn” or “p.o.r.n,” but might not appear on ablacklist. More sophisticated approaches are also being undertaken byunscrupulous individuals to defeat blacklisting and other protections.There therefore exists an ongoing need to protect against thevictimization of legitimate email users.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments of the invention are disclosed in the followingdetailed description and the accompanying drawings.

FIG. 1 illustrates an embodiment of an environment in which users ofcomputer and other device are protected from communications sent byunscrupulous entities.

FIG. 2 depicts an embodiment of a communication classification platform.

FIG. 3 depicts an example of a set of score thresholds used in anembodiment of a tertiary communication classification system.

FIG. 4 illustrates an embodiment of a process for classifyingcommunications.

FIG. 5A illustrates an example of an electronic communication.

FIG. 5B illustrates an example of an interface for classifying anelectronic communication.

FIG. 6 depicts an example of a review performed by multiple reviewers.

FIG. 7A depicts an example of a collection of terms.

FIG. 7B shows an example of a fraudulent message that would be detectedbased on the collection of terms depicted in FIG. 7A.

FIG. 8 illustrates an embodiment of a process for classifyingcommunications.

FIG. 9 illustrates an example of an interface configured to receivefeedback usable to create collections of terms.

FIG. 10 illustrates an example of such a sequence of messages.

DETAILED DESCRIPTION

The invention can be implemented in numerous ways, including as aprocess; an apparatus; a system; a composition of matter; a computerprogram product embodied on a computer readable storage medium; and/or aprocessor, such as a processor configured to execute instructions storedon and/or provided by a memory coupled to the processor. In thisspecification, these implementations, or any other form that theinvention may take, may be referred to as techniques. In general, theorder of the steps of disclosed processes may be altered within thescope of the invention. Unless stated otherwise, a component such as aprocessor or a memory described as being configured to perform a taskmay be implemented as a general component that is temporarily configuredto perform the task at a given time or a specific component that ismanufactured to perform the task. As used herein, the term ‘processor’refers to one or more devices, circuits, and/or processing coresconfigured to process data, such as computer program instructions.

A detailed description of one or more embodiments of the invention isprovided below along with accompanying figures that illustrate theprinciples of the invention. The invention is described in connectionwith such embodiments, but the invention is not limited to anyembodiment. The scope of the invention is limited only by the claims andthe invention encompasses numerous alternatives, modifications andequivalents. Numerous specific details are set forth in the followingdescription in order to provide a thorough understanding of theinvention. These details are provided for the purpose of example and theinvention may be practiced according to the claims without some or allof these specific details. For the purpose of clarity, technicalmaterial that is known in the technical fields related to the inventionhas not been described in detail so that the invention is notunnecessarily obscured.

FIG. 1 illustrates an embodiment of an environment in which users ofcomputer and other devices are protected from communications sent byunscrupulous entities. In the environment shown, a user of client device102 (hereinafter referred to as “Alice”) has an email account providedby web mail service provider 112. Alice visits provider 112's websitewith her computer (via one or more networks/network types, depictedcollectively in FIG. 1 as a single network cloud 110) to read and writeemail. Alice also accesses her email account via mobile phone 104. Auser of client device 106 (hereinafter referred to as “Bob”) has anemail account provided by his employer (i.e., hosted by corporate mailserver 114) and also has an account with provider 112.

A nefarious individual (hereinafter referred to as “Charlie”) usesclient device 108 to perpetrate fraud on unsuspecting victims. Inparticular, Charlie is a member of a criminal organization that engagesin a variety of email scams. One example scam is a “Nigerian scam” (alsoreferred to herein as a “419 scam”), in which criminals contactunsuspecting Internet users with offers, requests, or opportunities forrelationships, with the goal of requesting money from thevictims—whether within the initial contact email, but also potentiallyat a future point (e.g., after multiple communications have beenexchanged). Nigerian scams are believed to have originated in Nigeria(hence the name), but are now practiced from many places in the world.

While in principle anybody could fall victim to a 419 scam, someInternet users are more prone to such scams than others, and many arerepeat victims. A particular individual may be the victim of such a scamdue to having a personality or needs that make him/her particularlyvulnerable to the scam (e.g., an older person living alone). Theindividual may also be the victim of the scam due to poor securitypractices by which these users unwittingly invite abuse by sharing theircontact information in a way that allows scammers to find it.Furthermore, the names and contact information of these victims may besold to other scammers, or reused by a successful scammer, due to thehigh probability of re-victimization.

A 419 scam tends to rely to a larger extent than other scams on socialengineering. In contrast to typical SPAM messages which may containreadily blacklistable terms like “porn,” one of the reasons that a 419scam message is successful at tricking victims is because it appears tobe a legitimate conversational message. Terms frequently present in a419 scam message, such as “dollars” or “account” are also very prevalentin legitimate email. Further, people who are about to fall for a 419scam may be unwilling to believe that they are being tricked, becausethey want to believe in the message that the scammer provides them. Thismakes it difficult for friends and family to help protect victims, asthe victims do not believe they are being victimized. The degree ofpossible customization of scam messages makes it particularly difficultfor existing email filters to provide sufficient protection, asevidenced by the ongoing success of such scams.

Described herein are techniques for protecting vulnerable users frommalicious entities such as Charlie. In particular, as will be describedin more detail below, communications are examined and classified by aclassification platform 200, which can be operated as a single,standalone device, and can also be at least partially incorporated intoa variety of the components shown in FIG. 1.

In addition to protecting against 419 scams, a wide array of otherstructurally related abuses, such as forms of cyber bullying, abuse bysexual predators, and in general, receipt of inappropriate orthreatening information or messages, can be protected against. As willbe described in more detail below, depending on the nature of theproblems typically facing a given vulnerable user, and the severity ofthese problems, different configurations can be selected. As oneexample, platform 200 can determine the extent to which different abusesare covered by different parameter choices for a given user afterreviewing some email traffic to and from the user in question, byrunning for a period of time, and/or by statistical methods that comparethe user to similar users using the technology. It is possible to startwith one configuration and change to another configuration if the firstone is not appropriate, whether, e.g., because it is believed to removedesired communications or because it fails to remove communication thatis a risk to the vulnerable user. This can be determined among otherthings from direct feedback from the protected vulnerable user; bymanual or automatic scrutiny of quarantined messages, where it isdetermined what portion of this traffic was legitimate; and/or byscrutiny of the contents and quantity of the mail that is identified asbad. This provides an opportunity to change the settings over time tomake them more appropriate for a given protected user, or to adopt theprotection features to a changing problem, as the circumstances andexposure of the protected user change.

The techniques described herein can be incorporated into a variety ofsystems, in a variety of ways, and in various combinations. For example,Alice's web browser (e.g., on client 102 or client 104) can beconfigured to use a plugin whenever she accesses mail service 112. Theplugin can be configured to perform at least some of the techniquesdescribed herein as being performed by platform 200. As another example,a client-side filter can be included on client device 106 and configuredto scan/filter all, or a portion of the incoming/outgoing traffic of thedevice (e.g., traffic between corporate mail service 114 and/or web mailservice 112, irrespective of what type of mail client is used by Bob toaccess his mail). In yet other embodiments, a regular mail client (e.g.,Microsoft Outlook) is modified to support at least some of thetechniques described herein.

The techniques herein can also be provided by service providers (e.g.,operating embodiments of platform 200 or configuring theirinfrastructure to cooperate with embodiments of platform 200). Forexample, Alice's ISP, web mail service 112, and corporate mail service114 can each/all provide services in accordance with the techniquesdescribed herein. In particular, existing infrastructure provided by theservice provider(s) can be adapted to provide at least some of theservices described herein, or such services can be provided by one ormore separate modules. For example, at least a portion of thefunctionality of platform 200 can be provided as a gateway (e.g., suchthat all of the mail of an enterprise is filtered by such a gateway asit arrives/is downloaded). As another example, the functionality ofplatform 200 can be provided at least partially by a milter (e.g., suchthat some portion of message processing is performed for free on behalfof an ISP, and any usage above that portion is charged to the ISP basedon a contractual agreement). As yet another example, such services canbe provided by proxies. The proxies can be controlled by the serviceproviders (e.g., on premises), and can also be provided by a third partyas an external service to the service provider. Service providers mayopt to provide the services described herein to all users, and can alsoprovide the services on a per-user basis. As one example, Alice couldchoose to “opt-in” to having web mail service 112 provide her withprotections, while Bob could choose to forgo having web mail service 112provide him with protection. As another example, Alice's ISP mightautomatically enroll her in protection services (e.g., based on her ageor other demographic information indicative of her being particularlyvulnerable, or based on any prior history of Alice having beenvictimized in an email scam). Bob, having different characteristics,would not automatically be enrolled (but could nonetheless be offeredthe ability to opt-in).

In some embodiments, a proxy 116 performs scanning/filtering services onbehalf of users as a third party subscription service. For example,Alice's daughter “Eve” can purchase a subscription on behalf of hermother, Alice, or Alice might purchase a subscription for herself. Asanother example, Bob can purchase a subscription for himself, or hisemployer might subsidize the subscription on his behalf. The proxy isconfigured with the user name(s) and password(s) or other credentialsfor the email accounts to be protected. The usernames/credentials can becollected in a variety of ways. As one example, the user (e.g., Alice)can be explicitly asked to provide them. As another example, theinformation can be automatically collected on her behalf. The proxy canthen access the account(s) periodically, or screen and filter traffic asit is being sent to and from the subscribed user.

In situations such as where services are provided by a third party(e.g., protections for Alice's account with web mail service 112 areprovided by third party proxy 116), a filter can be used in order toavoid polling the email service provider (e.g., service 112) too often,which could be considered abusive/disruptive to the operation of service112. One way to provide such filter services is by changing the DNSlookup tables associated with the client device, and thereby causing alltraffic to be filtered by the proxy as it is being downloaded from webmail service 112 to the client device. Another approach is to augmentthe access functionality on the client device so that proxy 116 isnotified when the client device attempts to access the account. As it isbeing notified, it performs the filtering activity. In yet otherembodiments, proxy 116 provides a middleware component to device 102,where the middleware component catches calls made by the mail readerprogram (or browser) residing on the client device and then initiates acall to the web mail service 112. In yet other embodiments, the proxymimics a client device that is constantly logged in and is polling forupdates at a frequent but reasonable rate, such as once every minute.

In various embodiments, combinations of the components described aboveare used. For example, Alice can be protected both by a plugin orexecutable installed on client device 102, and one or more externalprotection services (e.g., offered by her ISP, by proxy 116, or by webmail service 112). In this scenario, Alice will be protected both whenshe uses her client computer 102 to read her mail, and also when shechecks her mail in other places, such as at a library terminal or hotelkiosk. Finally, while the techniques described herein are generallydescribed in conjunction with evaluating email communications, otherforms of communications can also be monitored/filtered as applicable.For example, instant messaging clients can monitored (whether at theclient, via a proxy, or at a server), and messages being sent to/fromthe protected user on such services treated in a similar way as isdescribed for the emails, as applicable. SMS/MMS messages are anotherexample of communications that can be screened/managed using thetechniques described herein. Other communication technologies can alsobe monitored and filtered, as applicable. For example, automated voicerecognition techniques could be used in conjunction with the screeningof voicemail messages (e.g., in conjunction with a service such asGoogle Voice) or calls, and escalation involving human review could beperformed (e.g., with the consent of the callee).

—Communication Classification Platform—

FIG. 2 depicts an embodiment of a communication classification platform.As shown in FIG. 2, platform 200 can comprise a single device, such asstandard commercially available server hardware (e.g., with a multi-coreprocessor, 4+ Gigabytes of RAM, and one or more Gigabit networkinterface adapters) and run a typical server-class operating system(e.g., Linux). Platform 200 can also be implemented using a scalable,elastic architecture and may comprise several distributed components,including components provided by one or more third parties. As explainedabove, platform 200 (or portions thereof) can be incorporated into avariety of different components depicted in the environment of FIG. 1.As one example, all or portions of platform 200 may be provided by webmail service 112. As another example, portions of platform 200 may belocated on client (or other) devices, such as client device 102 andportions not located on the client device may be omitted, or provided bya third party, as applicable.

In some embodiments, platform 200 includes a database 202 of userprofile information. As one example, where proxy 116 implements platform200, database 202 could include, for each user of the proxy, the user'susername/password information for sites that are proxied. Database 202can also include information such as the user's credit card information(where the proxy is run as a paid service), contact information, and anyuser-specific customizations. Examples of such customizations includeuser-specific whitelists (and any contextual information used toconstruct those lists, such as temporal information associated withmessage exchange), scoring thresholds, etc., described in more detailbelow. As another example, where client device 102 implements platform200, database 202 can be implemented as one or more configuration filesspecific to the user(s) of the device. Further, in some embodimentscommunications for all users are handled the same way, and database 202(and/or user-specific profile information) is omitted, or reduced inscope, as applicable.

In some embodiments, when platform 200 receives a communication forprocessing, the communication is provided to quick classifier 204.Header evaluation engine 206 evaluates any headers associated with thecommunication. Examples information evaluated by engine 206 include: thesender/originator of the communication, the apparent location and IPaddress of the sender, and the type of domain used by the sender. Theheader evaluation engine can also evaluate circumstances associated withthe communication transmission, such as the time of day it was received,and whether it appears to be a first contact with the user, or asubsequence communication. Content evaluation engine 208 evaluates thecontent of the communication. As will be described in more detail below,examples of content analysis include analysis based on a “collection ofterms” 218 (e.g., a set of terms which, when occurring in a singlecommunication are indicative of a particular scam story), and/oranalysis based on “indicating terms” 220 (e.g., individual terms whosepresence in a communication are highly indicative of scams). In someembodiments, platform 200 includes a honeypot engine 222 configured tocollect fraudulent messages, along with their sender information, bygenerating traffic from one or more honeypot accounts; and collectingand evaluating traffic to such accounts. The indications of fraudulentactivity derived from these actions can be used to help improve thefiltering of messages received by real users.

In some embodiments, a tertiary classification (e.g., “bad,” “good,” and“undetermined”) is made based on the performed evaluations (and, ifapplicable, taking into account any user-specific information). Wherethe result of the evaluation is “undetermined,” the communication isoptionally stored in repository 210 and provided to detailed classifier212 for enhanced processing. In some embodiments, quick classifier 204is provided by one entity (e.g., is located on device 102 or provided byan entity such as corporate mail service 114), and detailed classifier212 is provided by another entity (e.g., is provided by a third partyoperator of platform 200, proxy 116, an ISP, or other applicableentity).

In various embodiments, quick classifier 204 and detailed classifier 212employ different classification techniques. For example, quickclassifier 204 may rely solely on white/blacklists (e.g., requiring lessthan one second to process a message), while detailed classifier 212 mayemploy machine learning or other more sophisticated/resource-intensiveautomated review techniques (e.g., requiring two minutes of processingper message). As will be described in more detail below, in someembodiments, detailed classifier 212 makes use of one or more humanreviewers (120-124) instead of or in addition to performing automatedanalysis. For example, review coordination engine 214 can make availablea copy of the communication to one or more human reviewers, whodetermine whether the communication should be classified as “bad” or“good.” The reviewer feedback is provided back to detailed classifier212, which uses the information to determine a finaldisposition/classification of the message. In some embodiments, when amessage is sent out for human review, the conclusion of the human reviewdecides the disposition of the message. In other embodiments, the humanclassification is treated as one factor of a score (e.g., worth 50points), discussed in more detail below.

In some embodiments, the reviewers are assigned reputation information(e.g., by coordinator 214), which is stored in reputation database 216.The reviewers can also be compensated for their reviewing efforts, withassociated book-keeping being performed by coordinator 214 or anotherappropriate module. As will be described in more detail below, thereviewers may comprise a variety of individuals, including paid employsof the operator of platform 200, other users of platform 200 (e.g., whoperform reviews in exchange for a discount/rebate on services), a familymember (e.g. Eva on behalf of Alice), and/or members of a third partyoutsourcing platform, such as Amazon Mechanical Turk. In some cases,such as where the human analysis is performed by a trusted entity withinan organization (e.g., a member of the IT department reviewing an emailsent to Bob at his work address), the full text of the message may beprovided to the reviewer. In other embodiments, the message is partiallyredacted prior to being provided to a reviewer, also as described inmore detail below.

—Tertiary Classification of Communications—

FIG. 3 depicts an example of a set of score thresholds used in anembodiment of a tertiary communication classification system. In someembodiments the set of thresholds is used for all users of aclassification system (e.g., where corporate mail service 114 uses thesame settings for all users). In other embodiments, the set ofthresholds is adjustable on a per-user or per-user-group basis, eitherat the request of the user(s) or based on factors such as an assessmentof the vulnerability of the user/user-group to variouscommunication-based scams/threats.

In the example shown, a communication that receives a score (e.g., fromquick classifier 204) of less than 60 is determined to be “good.” Acommunication that receives a score of greater than 80 is determined tobe “bad.” A communication that receives a score between those values isdetermined to be “undetermined” and flagged for further analysis (e.g.,by detailed classifier 212). In various embodiments, the thresholds areset such that there are no false positives: all emails for which thereis a risk for false positives (i.e., a “bad” email being classified as a“good” email) are instead classified as “undetermined” and subjected toadditional processing. The determination of how to set the thresholds isa risk assessment wherein the risks of false positives are weightedagainst the risk of false negatives.

Communications that are determined to be “good” (also referred to hereinas “green”) are delivered to their intended recipient. For example, anemail intended for Alice that receives a score of “10” is ultimatelydelivered to Alice's inbox on web mail service 112. The display of goodmessages may also be modified, e.g., so that “good” messages are coloredgreen or include green elements when rendered.

Communications that are determined to be “bad” (also referred to hereinas “red”) are not delivered, in some embodiments. One reason to notdeliver the message at all, if determined to be bad, is that anunsophisticated user may unwittingly believe the message has beenmisclassified and fall for the scam represented by the message. Otherhandling of “bad” communications can also be configured. For example,“bad” messages can be delivered to a special folder, or are marked asbeing highly suspicious (e.g., colored bright red when displayed). Insome embodiments, “bad” messages are delivered to a separate accountassociated with the user. As one example, a “bad” message sent byCharlie to alice@examplewebmail.com (Alice's email address on service112) could be redirected to alice.screened@examplewebmail.com. Alicecould authorize Eve to access the secondary account (but not her primaryaccount) to review and permanently delete any “bad” messages, and tomake sure no false negatives (i.e., “good” communications erroneouslyclassified as “bad”) occur.

As mentioned above, messages that are neither “good” nor “bad” areflagged as “undetermined” (also referred to as “yellow”) and subjectedto additional processing prior to final disposition. As needed, thecommunication is held (e.g., in repository 210) until a determination ismade as to whether the communication is “good” or “bad.” Additionaldetail regarding the additional processing of “undetermined” messages isprovided below.

FIG. 4 illustrates an embodiment of a process for classifyingcommunications. In some embodiments process 400 is performed by platform200. The process begins at 402 when an electronic communication isreceived. As one example, a communication is received at 402 when webmail service 112 (which includes at least some components of platform200) receives a message from Charlie addressed to Alice. As anotherexample, where at least some of the functionality performed by platform200 is incorporated into a mail client installed on Bob's laptop 106,the mail client could receive a communication at 402 when Bob's mailclient contacts corporate mail service 114 to retrieve new mail (e.g.,via POP).

At 404, the communication is classified according to a tertiaryclassification scheme. As explained above, in some embodiments, thecommunication might be definitively classified as “good” or “bad” by aquick classifier 204. If the communication is instead determined to be“undetermined” by the quick classifier, it is provided to detailedclassifier 212 for heightened review. In some embodiments, the quickclassifier and the detailed classifier are collocated on a singleplatform (e.g., as depicted in FIG. 2). In other embodiments, theclassifiers reside on separate devices and/or may be configured by orunder the control of distinct entities. As one example, a quickclassifier could be included in a mail client resident on phone 104. Asthe phone has limited computing and other resources, and messagesreceived on the phone could be handled by a remote detailed classifier(e.g., provided by proxy 116). Further, in some embodiments multipledetailed classifiers are employed, and/or multiple rounds of enhancedscrutiny are applied to messages that are not clearly “good” or “bad.”As one example, where detailed classifier cannot definitively determinewhether a message is “good” or “bad,” the message can be provided to oneor more amateur human reviewers (e.g., members of the public who haveagreed to help review messages). If the amateur reviewers are similarlyunable to determine/agree that a given message is “good” or “bad,” themessage can be provided to professional reviewers (e.g., employees ofthe owner of platform 200 or paid contractors). Protectedusers/subscribers can also potentially act as reviewers (whether forthemselves or others). For example, if a sufficient number of protectedusers report a received message as “spam,” the message would beconsidered “bad,” and/or would cause the message to be provided to begiven to amateur or professional reviewers to classify.

The classification performed at 404 can be based on a numerical score(e.g., using numerical thresholds such as are depicted in FIG. 3). Theclassification performed at 404 can also be based on a set of rules.Examples of both approaches to classification are given below, and willdraw from the following list of example considerations:

1. “collection of terms”—The co-occurrence of certain terms fromseparate domains in a message can be indicative of a fraudulent messagethat corresponds to a particular scam scenario (described in more detailbelow). As one example, a message that contains the term “MCTN” (a termspecific to Western Union) and also the term “Google Wallet” isindicative of fraud. Scammers frequently offer to send fake GoogleWallet payments and request money back using Western Union. The twoterms are extraordinarily unlikely to co-occur in a legitimate emaildiscussion. However, a term such as “Google Wallet,” by itself, could beprevalent in legitimate emails; a blanket blacklisting of the term islikely to result in far too many false positives (flagging legitimatemessages as scam messages) to be tolerated by users being protected. Thepresence of a collection of terms in a message almost certainlyindicates the message is fraudulent. Another example collection of termsis: “Internet Lottery,” “your email has won,” “congratulations,” and“million dollars.” The last term, “million dollars” is also consideredpresent in a message if any so-called equivalent terms are present; suchterms may consist of a list “millions dollars”, “million pounds”, and“several millions.”

2. “indicating terms”—Terms that are statistically common in scamcommunications and uncommon in legitimate communications. “Internet” and“your name” are not indicating terms, as they are very prevalent inlegitimate communications. “Abacha,” however, is virtually absent fromlegitimate communications but prevalent in scam communications.Additional examples of “indicating terms” include “modalities,” “norisk,” “($*,000,000)” where * denotes an arbitrary value. The absence ofany indicating terms in a message almost certainly indicates that themessage is benign.

3. “friendly email”—A user-specific whitelist of email addresses. Insome embodiments, the user or an administrator provides the whitelist.In other embodiments, the whitelist is constructed based on anobservation (e.g., by platform 200) of communications. As one example,once a protected user has exchanged more than a threshold number ofemails with someone at a given email address, over a threshold period oftime (e.g., ten emails over the course of two weeks), then the addresscould be designated as a friendly email.

4. “friendly location”—A user-specific geolocation of friendly emails(or other identifier of a communication's origin). In some embodiments,the geolocations associated with email addresses that are considered tobe friendly (e.g., per above) are designated as “friendly” afterthreshold requirements are met. As one example, if Alice has a friend inParis, France, with whom she routinely communicates, that friend wouldeventually be added to the “friendly email list.” The geolocation of“Paris, France” could then be added as a friendly location (e.g., afterAlice has exchanged more than twenty messages with her Parisian friend,over a period of at least one month). In some embodiments, a freshnesstest is employed, so that a location only remains friendly so long asthe threshold amount of communication continues to be exchanged (or someother “maintenance” level of communication). An example of a way thelikely approximate location of the sender can be determined is by reviewof the routing path, which is always available to a receiving ISP, andcommonly available to the final recipient.

The geolocations designated as “friendly” can take a variety of forms,ranging from specific IP blocks/subnets (e.g., indicative of theparticular French ISP used by Alice's friend), to political boundariessuch as neighborhoods/ZIP codes/cities/counties/states/countries, orarbitrary designations such as “within a 20 mile radius” of a givenlocation. The classification can also be performed by determining if theIP is not in a given range, e.g., “any not originating in Denmark” isnot friendly.

Alice might visit her friend (and make new friends) or otherwiselegitimately begin communicating with others in Paris. Suchcommunications are much less likely to be fraudulent/take advantage ofAlice than communications originating from a geolocation with whichshe's not previously had contact (e.g., Spain or Ghana). A variety ofrules can be used to govern whether/when a friendly location is added.For example, if Alice's Parisian friend visits China for a week, andsends a handful of emails to Alice, platform 200 will not automaticallyadd the country of China to Alice's friendly location list. One way toensure China is not added is to require a threshold number of additional“friendly email” addresses in a given region before adding a region,and/or connecting the number of friendly emails to the footprint of theassociated geolocation (e.g., requiring Alice to receive mail on aregular basis from three people in a given state or country beforeadding the entire state/country).

In some embodiments, friendly languages are determined, and may, forexample, correspond to the languages spoken in the friendly locations.Thus, if a language used in the message is either on a particular listof languages, or is not on a list of on a list of particular languages,then this can be used as a factor to cause the email to be identified asgood, suspect, or bad. Rules can also be combined, describing scenariossuch as: “All email from outside Scandinavia is considered suspect,except email from Britain if the language is Swedish and there are noindicating terms in the email.” A variety of approaches can be used toassess messages according to such rules. For example, services such asGoogle translate can be used; comparisons of message contents to wordlists of different languages can be performed; and/or the encoding ofthe message and the associated language character table can beidentified. Most computers use UTF (8,16) to display contents. In thecase of HTML pages, the page typically has a metatag that indicates theencoding of the page, and if the characters are from a certain part ofthe coding table that shows the language of the page.

While it may seem unnecessarily restrictive to block traffic from entiresubnets, countries or even continents, or likewise to block traffic incertain languages, there are many users to whom the Internet posesgreater threats than benefits unless drastic limitations of freedom aremade. Thus, to such users, or to concerned family members, it may bedesirable/reasonable to block traffic from all countries where theprotected user does not have any friends, family or business partners,or conversely, to only admit traffic from whitelisted locations. Theimportance of a given factor, including friendly location, can bedetermined by weights associated with the rules; also, for some users,only a subset of the rules need be active or configured.

5. “suspect location”—A listing of VPN proxy addresses, Tor exit nodes,zombie/bot nodes, and other known-bad sending locations that is notuser-specific. As one example, if a particular ISP in Ghana is known fororiginating a great deal of scam messages, that ISP could be designatedas a “suspect location.” And, paths can also be used, e.g., any webemail originating in Ghana, or originating in Spain.

6. “undisclosed location”—A listing of webmail providers that is notuser-specific, and a location that resolves to a VPN, known bot node, orsimilar problematic location.

7. “global friendly senders”—A listing of well-known, benign electroniccommerce and other service providers that is not user-specific.

8. “spoof”—Messages sent to “undisclosed recipients” and/or otherindicators of sender spoofing. Additional examples include: (1)comparing the originating IP address with the domain; (2) identifyingsuspect IP addresses on the path of the message; (3) identifying anunusual number of hops; (4) identifying previously identified bad IPaddresses in long headers; (5) email contents being misaligned with thedomain appearing to have originated the message; (6) email contentsbeing misaligned with the IP addresses on the path of the message;and/or (7) the email has a sufficiently different reply-to address fromthe apparent sender address, or (8) the email has a sufficientlydifferent reply-address from both the apparent sender address and theoriginating domain.

Example—Numerical Scoring

Each of the above eight example considerations is associated with anumber of points. The following is one example of how points could beassigned:

(collection of terms fires): 65 points

(indicating terms fires): 10 points

not (friendly email): 25 points.

not (friendly location): 25 points

(suspect location): 30 points

(undisclosed location): 10 points

(global friendly sender): −20 points (this value is negative, indicatingthat the presence of the condition being true is indicative of a “good”message)

(spoof): 50 points

For a given communication, the points are summed, and compared tothresholds. Below are two examples of thresholds, one set for Alice(e.g., by Eve) and one set for Bob (e.g., by his employer):

Alice:

<15 points—green

>50 points—red

otherwise yellow

Bob:

<25 points—green

>60 points—red

otherwise yellow

Example—Rule-Based

Various rules involving the eight example considerations can be definedand associated with tertiary classifications. The following are twoexamples of how rules can be specified—again, with Alice's rules beingmore strict against potential scam, and Bob's being more lax:

Alice:

RED if:

(Collection of terms fires), or

Spoof, or

no color determined and (not friendly location) and (not friendly email)and (not global friendly senders) and (indicating terms), or

no color determined and ((undisclosed location) or (suspect location))and (indicating terms fires)

GREEN if:

no color determined and (friendly email) or (global friendly senders),or

no color determined and (friendly location) and not (indicating termsfires)

YELLOW otherwise.

Bob:

RED if:

(Collection of terms fires), or

Spoof

GREEN if:

no color determined and (friendly email) or (global friendly senders),or

no color determined and (friendly location) and not (indicating termsfires), or

no color determined and (friendly location), or

no color determined and (friendly location) and not (indicating termsfires)

YELLOW if:

no color determined and (not friendly location) and (not friendly email)and (not global friendly senders) and (indicating terms), or

no color determined and ((undisclosed location) or (suspect location))and (indicating terms fires), or

[otherwise doesn't match any rules].

The rules for what is red, green, and yellow are configurable on aper-case basis and an administrator can select and configure theserules. Conflict between rules can be managed by a pessimistic approach(if any indicator says it is red, then it is red); using a threshold (ifat least X indicators say it is red, then it is red); or with exceptions(it is not red if it is on the whitelist, otherwise if any indicatorsays it is bad then it is red.) These different approaches carrydifferent risks of false positives, where the risk for false positiveswould be higher for the pessimistic approach than it would be for theother described approaches. Yet other more flexible policies fordetermining how to manage conflicts can also be used; such as by havingeach rule associate a score to each message and each rule beingassociated with a weight, allowing an aggregated weight to be computedand compared to a threshold value, which can be a scalar or a vectorelement.

FIG. 5A illustrates an example of an electronic communication. Inparticular, message 500 is an example of a fraudulent email message thatCharlie has attempted to send to Alice. In this example, Charlie haspreviously contacted Alice (e.g., letting her know she has won a prizeand asking for her address to determine which prize she has won), andAlice has responded (e.g., with her address). In practice, Charlie'soriginal message, and/or the concatenation of the exchanges betweenCharlie and Alice would have been classified by quick classifier 204 as“bad” (e.g., based on the “collection of terms” technique describedbelow). However, for purposes of this example, suppose that quickclassifier 204 has classified message 500 as “undetermined.” The messageis provided to detailed classifier 212 for further analysis. Asmentioned above, in some embodiments, detailed classifier 212 isconfigured to leverage the assistance of human reviewers in determiningwhether an undetermined message should be definitively classified asgood or bad. Detailed classifier 212 provides the message to reviewcoordinator 214 which redacts the message as applicable, and providesthe redacted message to one or more human reviewers. In particular,personally identifiable information, such as contact informationassociated with the protected user (i.e., potential victim recipient) isredacted. In some embodiments, other processing is also performed priorto providing the message to a reviewer for review. For example, termscommonly used by scammers can be highlighted, and path information madeeasier to understand, as described in more detail below. Such processingcan be performed based on parsing of the text (or optical characterrecognition (OCR) of images, followed by parsing of the resulting text);comparisons to known personally identifiable information (PII)terms/formats (e.g., common first names; recognition of phone numbers;recognition of addresses); and comparison to known terms commonly usedby fraudsters, but not as commonly used in non-fraudulent messages(described in more detail below). In some scams, messages are includedas attachments, and/or links included in the email (or, e.g., an SMS)direct victims to a website that includes an image of text. Processingcan further include examining attachments, and detecting and followingsuch links, and OCR′ing/parsing the obtained content as applicable.

FIG. 5B illustrates an example of an interface for classifying anelectronic communication. The example shown is an embodiment of aninterface shown to a reviewer, such as reviewer 120. The interface canbe provided in a variety of ways. As one example, platform 200 mayprovide a web interface/portal which reviewers can access, log into, andthen select an option to “start reviewing.” As another example, e.g.,where Eve is reviewing Alice's messages, Eve may receive an email orother alert, letting her know that new mail which requires review hasarrived for Alice, and asking Eve to access an interface provided byplatform 200. In yet other embodiments, the interface is provided as atablet or other mobile device app, allowing reviewers to review messagesin a custom interface.

In interface 550, Alice's email address 502 has been redacted (552). Thesender's email address 504 is underlined (554) to indicate that thesender is involved in other messages, which the reviewer can access byclicking on region 554. Subject line 506 is shown in the redactedversion of the message (556). The path of the message 508 is textuallyand/or visually clarified/simplified. For example, the IP addressinformation is replaced with a geographic location and an indicationthat it may be spoofed (558). Other techniques for simplifying locationinformation can also be provided, such as by showing country informationon a map when the reviewer hovers a mouse pointer over region 558.

Alice's name 510 is identified as a personal name and removed (560), asis component 512 (562), which is identified as an address. In someembodiments, instead of blacking out the personal information, theinformation is placed with an indicator of what has been removed, e.g.“NAME” in region 560 and “ADDRESS” in region 562. Where reviewercoordinator 214 is unable to definitively determine whether a portion ofthe message should be redacted, the label over the redacted portion canindicate as such, e.g., “PROBABLY AN ADDRESS.” Elements of the remainingtext commonly associated with scams are highlighted for the reviewer'sconvenience (564-568).

In region 570, the reviewer is asked to make a determination of how themessage should be classified, by clicking on one of buttons 572, 574, or576. The result of a button press is received by review coordinator 214,which collects the feedback from any additional reviewers who have beenasked to review the message. In some embodiments, a feedback field orother mechanism is included in the interface so that the reviewer canprovide feedback on why the message was classified. As one example, thereviewer could explain what reasons led the reviewer to be “not sure”about the message, to help a subsequent reviewer come to a definitivedecision.

In some embodiments, the results of other filter rules are indicated inthe image shown to the reviewer, to assist the reviewer in assessing themessage. For example, where the sender location is friendly, thatinformation could be provided at the top of the interface, or inline(e.g., next to region 554). As another example, information such as “UKproxy” or “unknown ISP” can be included in region 558.

In some embodiments, a single definitive (i.e., “good” or “bad”designation, but not “not sure” designation) classification by areviewer is sufficient to classify the message. This may be the case,for example, where a relative of the protected user is performing thereview (i.e., Eve reviewing on behalf of Alice), or a designatedemployee is performing the review (i.e., a member of Bob's company's ITdepartment reviewing on behalf of Bob). In this scenario, button 574 maybe omitted, if applicable. The number of reviewers assigned to review amessage can also be based on a service level associated with theprotection. For example, platform 200 may offer free protection services(where only one human reviewer will resolve undetermined messages) andalso offer premium services (where multiple reviewers will vote, and/orwhere the experience of the reviewers varies based on subscriptionlevel).

Where multiple reviewers are asked to review a message (e.g., inparallel, as a group), if a sufficient number of reviewers indicate thata given message is fraudulent by clicking on the “bad” button 576, thenthe message is classified as “bad.” If a sufficiently large number ofreviewers select the “good” button 572, then message is considered good.If a sufficient number reviewers select option “not sure” 574, in someembodiments, the classification task is elevated to more experiencedreviewers, e.g., as assessed by the number of cases they have judged,their reputation, and/or the duration that they have provided feedback.A variety of approaches can be used to determine whether the“sufficient” number is reached. As one example, a rule can be specifiedthat the selected group of reviewers must agree unanimously. As anotherexample, a rule can be specified that a threshold percentage of thegroup must agree. As yet another example, the “votes” of the reviewerscan be weighted by their respective reputation scores (e.g., stored indatabase 216). Additional information regarding reviewer reputations isprovided below.

Reputations can be assigned to reviewers in a variety of ways. As oneexample, reviewers can be asked to review training materials and then,upon completion, evaluate a set of sample messages. A reviewer'sreviewing accuracy with respect to the sample set can be used to assigna reputation to the reviewer. In some embodiments, the reputation isbinary (e.g., “trusted” or “not trusted”) or tertiary (e.g., “goodreviewer,” “average reviewer,” “novice reviewer). The reputation canalso be a score (e.g., 16/20) or percentile (e.g., 75^(th) percentile).In some embodiments, novice reviewers are assigned a starting reputationof 10/100. As they classify messages, their score is increased ordecreased based on whether other, more experienced reviewers agree withtheir assessment. If a novice reviewer's score reaches a low threshold(e.g., 5/100), the reviewer is warned to do a better job, and/orprevented from reviewing any more messages, due to poor performance(e.g., once the reviewer's score dips below 3/100). Where compensationis awarded (whether in the form of monetary payment, or additionalreputation/other points), the compensation for a “correct” vote may beevenly distributed across all reviewers voting correctly, and may alsobe distributed according to a formula, e.g., that takes into account thereviewer's respective reputation scores, history, etc.

FIG. 6 depicts an example of a review performed by multiple reviewers.In the example shown, reviewer A (602) has a reputation of 46. ReviewerB (604) has a reputation of 72. Reviewer C (606) has a reputation of 51.Reviewers A and B have both flagged the message being reviewed as“unsafe” (i.e., bad). Reviewer C has flagged the message a “safe” (i.e.,good). One way to determine an assessment of the message is to sum eachof the votes. In the example shown in FIG. 6, such a score could becomputed as 46+72−51 (total 67). Another way to determine the assessmentis to assign one vote to each reviewer, and then weight the respectivevotes based on reputation buckets. As one example, a reputation at orabove 65 could be accorded a full vote, a reputation between 50 and 65could be accorded 0.75 votes, and a reputation 50 or below could beaccorded 0 votes. Votes determined to be correct are rewarded withheightened reputations, and votes determined to be incorrect arepenalized with lowered reputations. In some embodiments, a function isused to determine how much reward or penalty is to be applied. As oneexample, reputations may be recomputed daily or weekly, and the totalnumber of messages reviewed by a reviewer taken into account consideredwhen adjusting the reputation. As one example, a reviewer who reviews atleast 20 messages in a week, and gets no more than ten percent wrong,could be assigned two points of reputation for that week. A reviewer whogets more than ten percent wrong (irrespective of total number reviewed)could be penalized by four points.

In various embodiments, reviewers are made aware of the fact that thereare at least some additional reviewers reviewing the message.Information about the other reviewers, such as their number andrespective reputations, can selectively be displayed or not displayed(e.g., based on configuration settings made by an administrator). Insome embodiments, reviewers are unaware (or are otherwise not informed)about whether or not multiple reviewers are examining the message theyare examining.

—Collection of Terms—

Overview

As mentioned above, in various embodiments, platform 200 evaluatescommunications based on the presence of a “collection of terms.” Asexplained above, the presence of a collection of terms in a messagealmost certainly indicates the message is fraudulent, and the absence ofany indicating terms in a message almost certainly indicates that themessage is benign. Accordingly, in some embodiments, evaluation of acommunication is performed using a collection of terms, and a binaryclassification (i.e., scam or not scam), score, or other non-tertiaryclassification scheme is used. In other embodiments, the presence of acollection of terms in a communication (and/or absence of indicatingterms) is one factor in tertiary classification.

In some embodiments, quick classifier 204 and detailed classifier 212cooperate to perform tertiary classification of messages. In otherembodiments, at least some portion of the time, the classifiers use a“collection of terms” to classify communications (e.g., as fraudulent ornot) and do not perform tertiary classification. In various embodiments,a single classifier is included in platform 200 (e.g., quick classifier204 is omitted, and detailed classifier performs any functionalityotherwise provided by quick classifier 204).

FIG. 7A depicts an example of a collection of terms. In particular, FIG.7A provides an outline of a particular form of scam that is perpetratedby 419 scammers—trying to convince the victim that he or she is entitledto a large sum of money as an inheritance, and that the money will beprovided as soon as the victim pays a small fee. Although the mainpoints of the message will be common across all such scam messagesconforming to the “story” the scammer is trying to trick the victim intobelieving, the actual wording of the scam message may vary from messageto message (e.g., to thwart detection, because the message has aparticular author with a distinctive writing style, or because themessage was written in a first language and translated to a second).Further, subtle variations may occur due to writing problems such asmisspellings.

Each row in the collection of terms depicted in FIG. 7A corresponds toone aspect of the inheritance scam story. Where multiple terms appear ona given row, the terms are collectively referred to as an equivalenceclass—terms that fulfill the same purpose if used in the story. Forexample, the particular scam represented by FIG. 7A typically beginswith an introduction of either “My name is” (702) or “I am” (704). Thescam will next invoke a long-lost relative (or their representative).Equivalence class terms for this aspect of the story are shown in region706. Next, the scam will describe the large amount of money (in one ofthree formats shown in region 708) that can be collected by the victimin one of three formats. The scam then indicates that all that isrequired for the victim to receive the money (e.g., “transfer” 710) isfor the victim to provide banking details (see region 712 for terms).The victim is encouraged to provide the banking details right away (seeregion 714 for terms), e.g., to minimize the likelihood the victim willtell a friend or relative about the email and be discouraged fromproviding payment information.

FIG. 7B shows an example of a fraudulent message that would be detectedbased on analysis by content evaluation engine 208 of the collection ofterms depicted in FIG. 7A. The terms in message 750 that are present inthe collection of terms of FIG. 7A are underlined. In some embodiments,which term in an equivalence class is used in a message (e.g., “My nameis” vs. “I am”) is not taken into account when evaluating the message.In other embodiments, different terms receive different scores. As oneexample, “huge sum” might be scored higher (i.e., indicating the messageis more likely to be fraudulent) than “,000.”

FIG. 8 illustrates an example of a process for classifyingcommunications. In some embodiments, process 800 is performed byplatform 200. The process begins at 802 when an electronic communicationis received. As one example, a communication is received at 802 when webmail service 112 (which includes at least some components of platform200) receives a message from Charlie addressed to Alice. As anotherexample, where at least some of the functionality performed by platform200 is incorporated into a mail client installed on Bob's laptop 106,the mail client could receive a communication at 802 when Bob's mailclient contacts corporate mail service 114 to retrieve new mail (e.g.,via IMAP).

At 804, the communication is classified using a collection of terms. Asexplained above, in some embodiments the communication might bedefinitively classified as “good” or “bad” based on the analysis of themessage against the set of collections of terms 218. In otherembodiments, the collections of terms analysis is one considerationamong multiple considerations (e.g., the additional exampleconsiderations listed above). In various embodiments, the distancebetween at least some terms appearing in the message is taken intoaccount when determining whether the message should be marked asfraudulent based on the presence in the message of a collection ofterms. As one example, while presence of the terms, “Nigeria” and“senator” in the same short message may typically indicate that themessage is fraudulent, the message is likely not fraudulent where theterms are separated by 5,000 characters.

The classification performed at 804 can be performed using a variety oftechniques. For example, a collection of terms can be evaluated using arule-based approach (e.g., testing for the presence of words, and/orapplying a threshold number of words whose presence are needed for amatch to be found); using a support vector machine, where the elementsof the support vector corresponds to terms or words; and/or usinggeneral artificial intelligence methods, such as neural networks,wherein nodes correspond to terms or words, and wherein the valuesassociated with connectors cause an output corresponding essentially toa rule-based method. In each of the aforementioned embodiments, a valueassociated with the severity of the collection of terms being identifiedcan be generated and output, where multiple values are generated ifmultiple collections of terms have been identified.

Additional Information Regarding Collections of Terms

In some embodiments, each term (or its equivalent) must appear in themessage in the order it appears in the collection. Thus, using theexample of FIG. 7A, in some embodiments, if “transfer” appears before“huge sum” in a message being analyzed, the message will not be flaggedas a scam, because the ordering in the collection of terms is reversed.In other embodiments, order of terms does not matter, e.g., so long asat least one term from each line of the collection shown in FIG. 7A ispresent in the message, the message will be classified as an inheritancescam.

In some embodiments, platform 200 maintains scores associated with eachcollection of terms. One such value indicates, for each type of scam,how successful the associated term collection is at matching fraudulentemails making use of that scam. Based on factors such as the concern forvarious types of scams, and based on computational limitations, aselection of which term collections are to be used can made, e.g., whereprocessing is performed on a device with limited resources, such asphone 104.

A second value associated with each collection of terms indicates therisk for false positives associated with the term collection, in thecontext of a given user. Example ways to determine the value is byscanning the user's inbox; by letting the user identify his or hernormal activities; and/or by running the system for some amount of time;and determining the value based on classification of uncertain cases byhuman reviewers who review messages and classify them. This second valuecan also be used to select collections of terms, e.g., to avoid termcollections that lead to higher false positive rates than a particularuser find acceptable.

Both values can be configured based on the preferences of the protecteduser, and on the service level of the user (e.g., where users withhigher service levels are given higher computational effort). In someembodiments, a collection of terms is matched to a portion of an emailaddress, and a determination is made as to whether the email is from adomain associated with the terms; if it is not, then the email isflagged. As one example, an email with terms suggesting that the emailis the confirmation of a financial institution payment but which is notsent from the financial institution domain is flagged as scam. Inanother example, a determination is made as to whether the message isfrom a particular sender, and if it is not, then the message is flaggedas scam. In yet another example, all words are normalized before thecomparison is made. This includes performing a consistentcapitalization, correcting likely spelling mistakes by replacing wordswith the most likely candidates from a list of related words, where thislist is created to emphasize words commonly used by scammers.

The following is another example of detecting a fraudulent message usinga collection of terms. Suppose there are a total of two terms includedin the collection (corresponding to a fraud in which victims are askedto send money by Western Union in exchange for a bogus Amazon.compayment). In this example, no equivalence terms are included—just atotal of two distinct terms—(“Western Union”,“Amazon payment”). If adocument contains both of these terms, whether separated by other wordsor not, then the document is considered to match. Suppose the messageis, “Here is an Amazon payment for $100. Please send me $50 with WesternUnion.” Such a message would match the collection of terms, as would“Please send your Western Union payment after you receive the Amazonpayment.” However, a message of, “Here is an Amazon payment for theWestern Digital hard drive I want to purchase. Please send it to my homein Union, N.J.,” would not match since “Western” and “Union” areseparated. A message of, “Here is an AMAZON payment for $100, pleasesend the money with western union” would match, where normalization isapplied to remove capitalization. In an embodiment where spelling errorsare corrected/normalized, “Here is an Amaz0n payment. Please send moneyusing western unjon,” would match the collection of terms, since“Amaz0n” once corrected would become “Amazon,” and “unjon” would becorrected to “union” before the verification is made.

In some embodiments, a global list of equivalent terms is maintained(e.g., usable across multiple collections of terms), such as “USD,”“us$,” and “euro.” While a Euro is not the same as a USD, the usage ofeither concept by a scammer is functionally the same. In someembodiments, as a message is evaluated (e.g., by content evaluationengine 208), it is first normalized by capitalization and spellingnormalization, then the system replaces any terms found in the documentmatching a term in the list of equivalent terms with a representativeterm, such as the first term in the equivalence list. After that, thedocument is verified to determine if it matches any of the rules, suchas the (“Amazon”, “Western Union”) rule. In some embodiments, any imagesincluded in/attached to/linked to in the message, are interpreted usingOCR techniques, and any associated texts combined with ASCII textmaterial before the verification is made.

In some embodiments, each of the non-equivalent terms in a collection ofterms (e.g., “long lost” and “huge sum”) are associated with one or morepointers, and ordered alphabetically. The number of pointers associatedwith each term is the same as the number of rules for which that term isused. Each rule is represented as a vector of Boolean values, where thevector has the same length as the associated rule contains words. Allthe binary values are set to false before a message is parsed. Themessage is parsed by reviewing word by word, starting with the firstword. If the word being reviewed does not fully or partially match anyof the alphabetically ordered terms, then the next word is reviewedinstead. If a word matches a term fully, then all Boolean values thatare pointed to by the pointers associated with the term that the wordmatches are set to true. If one or more words matches a term partiallyby being the first words in the term, then the next word of the messageis being added to the comparison and it is determined whether thepreviously partially matching words now partially of fully match any ofthe terms that was previously partially matched. If a full match isachieved, then the Boolean values associated with the pointers of thisterm are set to true. If a partial match is achieved, then the next wordis added, and the process repeated. If a sequence of words being matchedfirst partially matches and then does not match, then the system againwill consider one word, starting with the second word of the previoussequence. After the entire document has been parsed in this manner, thesystem determines whether any of the vectors of Boolean values is alltrue, and if this is so, then the algorithm outputs that there is amatch; otherwise it outputs that there is no match. A match means thatthe message is dangerous. This comparison can also be made each time aBoolean value is set to true by determining if the vector in which thisBoolean value is an element is all true, and it so, output “match” andconclude the processing of the message. In a variant implementation, thesystem determines how many of the vectors are set to all-true; andoutputs a counter corresponding to this number. Alternatively, eachvector is associated with a weight, and the system determines the sum ofall the weights for which the associated vectors are all-true. Themessage is then identified as having dangerous content, and the sumdetermines the extent of the danger. In one embodiment, the Booleanvectors are not set to all-false between the scan of two relatedmessages that are part of a thread and sent to the same person. Thisprovides detection capabilities in situations where information isdispersed over multiple related messages, which causes the thread ofmessages to be considered dangerous.

—Obtaining Collections of Terms—

Collections of terms 218, an example of which is depicted in FIG. 7A,can be included in platform 200 in a variety of ways. As one example, ahuman administrator (or contractor linguist, or other appropriateentity) can manually create a given collection (and optionally assign ita title, as applicable, such as “inheritance scam”), which can be storedfor use by platform 200. As another example, messages that are flagged(e.g., by human reviewers) as being fraudulent, but are not otherwiseflagged by platform 200 can be examined—either automatically, or incooperation with humans, such as an administrator or reviewers, andcollections of terms formulated to identify such fraudulent messages inthe future.

FIG. 9 illustrates an example of an interface configured to receivefeedback usable to create collections of terms. In the example shown, anadministrator is reviewing feedback provided by three reviewers aboutwhy a particular message is believed to be fraudulent. Specifically,while interacting with an interface such as a modified version ofinterface 5B, reviewers were asked to indicate which terms they believedwere most important in reaching their determination of bad, byhighlighting the terms prior to clicking “bad” button 576.

The terms selected by each of the three reviewers are indicated to theadministrator as three types of boxes—sold boxes indicate a selection bya first reviewer; dashed boxes indicate a selection by a secondreviewer; and dotted boxes indicate a selection by a third reviewer. Inthe example shown in FIG. 9, the administrator is not authorized to seethe full message, so certain terms (e.g., term 902) are redacted, evenfor the administrator. All three reviewers agree that term 904 isprobative of why the message is fraudulent. Other terms have votes fromonly two (e.g., 906) or just one (e.g., 908) of the reviewers. Invarious embodiments, the administrator can review the selections made bythe reviewers, and act, e.g., as a fourth reviewer, to pick which termsshould be included in a collection of terms usable to detect the scamrepresented by the message. The administrator can also set thresholds(e.g., minimum of two votes needed, reviewer reputation score needed,etc.) for automatically selecting terms, and then retain the ability toapprove or veto the automatic inclusion of the collection of terms incollection 218. In some embodiments, the flagging of terms in themessage is presented to users as a CAPTCHA.

In some embodiments, automated techniques are used to generatecollections of terms (and/or indicating terms). For example, suppose theclassification of a given message is “bad.” Platform 200 can beconfigured to identify terms that distinguish it from messages of thegood message set, using the TF-IDF (term frequency inverse documentfrequency) principle. A limited number of such terms are selected, wherethe number is either a system parameter or a function of the TF-IDFvalue, and where the terms are selected in order of decreasing TF-IDFvalues; while selecting at least a threshold number of word terms; atleast a threshold number of bigrams; and at least a threshold number oftrigrams. These selected terms are stored, and referred to as temporaryterms. Platform 200 then computes a modified TF-IDF value for thenormalized message and messages of the good message set, usingconstellations of the temporary terms, where a constellation is anunordered list of elements selected from the temporary terms, fordifferent such selections. This identifies collections of elements fromthe set of temporary terms that are particularly rare in good messages.A threshold number of the resulting terms are kept, selected in order ofdecreasing modified TF-IDF value. The threshold is either a parameternumber or a function of the modified TF-IDF number. The result are rulesthat identifies the input message as bad, and the inverse of themodified TF-IDF number is an estimate of the false positive rate forclassification of messages using the associated rule. These rules arethen ordered in terms of decreasing values of a counter measuring howmany messages in the collection of known bad messages that each suchrule matches. These counters are estimates of how general the associatedrule is. One or more rules are selected from the rules, where theselection criteria are low false positive rates and large degree ofgenerality. An example selection picks the rule that maximizes a measureequaling the generality measure divided by the false positive rate,i.e., the associated counter times the associated modified TF-IDF value.The selected rules are added to the database of rules. This approach isused to compute new rules to identify bad messages. In one version ofthe algorithm, the entire set of known good messages is used in place ofthe at least one message that is part of the input.

As another example, collections of terms can be generated usingartificial intelligence techniques configured to identify common wordsin scam messages, but which are not as common in desirable messages;identify collections of such words that are frequent in scam messagesbut which are highly infrequent in desirable messages; and identifycollections of such terms that are common in scam messages but which areessentially absent in desirable messages.

—Temporal Considerations—

The disclosed techniques can take into consideration temporalrelationships between messages when making an assessment. For example,platform 200 can be configured to scan sequences of messages forming aconversation. It may be that one of the messages in the sequence doesnot have sufficient evidence of being abusive, whereas a sequence ofsuch messages collectively provides sufficient evidence to be filteredout as being bad. This will cause any future emails of the same type orin the same sequence to also be considered bad.

FIG. 10 illustrates an example of such a sequence of messages. In thefirst message (1002), a user called “Grandma” receives a seeminglybenign email from someone claiming to be a long lost friend. It does notmention lotteries. Grandma responds (1004) that she cannot remember herfriend, then gets a second email (1006) saying that they were in thesame elementary school, and now her friend sells lottery tickets and hasfive grandchildren. Grandma responds (1008) that this sounds like a funthing to do, and that she has ten grandchildren. Her “long lost friend”then says (1110) that the reason she contacted Grandma was that she sawher name as one of the lottery winners, and remembered her name from herchildhood, then decided to find her to tell her about her winnings. Howcould she not pick up the money, it is nearly a million dollars, and allshe has to do is to pay the processing fee of $565.

Each email in the exchange, by itself, might be seen as innocuous, withthe potential exception message 1110. By the time message 1110 isreceived, however, most existing spam filters would have whitelisted thescammer, given the number of emails sent and received from her byGrandma without incident. In various embodiments, platform 200 examinesthe entire sequence of emails (or a moving window of several emails),concatenating the text together and performing analysis on theconcatenated text. The concatenated text would readily match a “LotteryScam” collection of words, and the messages would be classified as“bad,” accordingly.

A second example of temporal processing is as follows. Suppose a user isreceiving a sequence of emails over a few weeks time, where the sequenceof emails establishes an online friendship or relationship, and thenasks for money for some purpose. The initial sequence of emails ispurely intended to establish trust, after which the typical request formoney arrives. A person who has seen such a scam perpetrated mightrecognize its making from the early emails. A machine learning component(e.g., of content evaluation engine 208) can identify a sequence ofmessages as bad when identifying the request for money, and thenidentify indications in the trust-establishing emails that areindicative—whether by themselves or as a subsequence—of the request tocome. This way, the machine learning component will constitute anearly-warning system in which indications of fraud are picked up beforethere are signs that by themselves correspond to an effort to extractmoney.

Although the foregoing embodiments have been described in some detailfor purposes of clarity of understanding, the invention is not limitedto the details provided. There are many alternative ways of implementingthe invention. The disclosed embodiments are illustrative and notrestrictive.

What is claimed is:
 1. A system, comprising: one or more processorsconfigured to: obtain information associated with a plurality ofelectronic communications associated with an entity; generate, in awhitelist, an entry including information associated with a given emailaddress, wherein the entry including the information associated with thegiven email address is generated based at least in part on adetermination, from the obtained information associated with theplurality of electronic communications associated with the entity, thatat least a threshold number of electronic communications have beenexchanged between the entity and the given email address, and that theat least threshold number of emails were exchanged during a period oftime that exceeds a threshold period of time; subsequent to generatingthe whitelist entry, receive an electronic communication to beclassified; and perform a classification of the received electroniccommunication based at least in part on a determination of whether thereceived electronic communication corresponds to an entry in thewhitelist, wherein performing the classification includes assigning tothe received electronic communication a single one of three differentclassifications according to a tertiary classification scheme, whereinthe three classifications include good, bad, and undetermined; based atleast in part on the bad or undetermined classification, change theappearance of the received electronic communication by at least one of:redacting a first portion of the received electronic communication,textually or visually clarifying the received electronic communication,highlighting a second portion of the received electronic communication,and marking the message as highly suspicious; wherein the one or moreprocessors are further configured to perform an action based at least inpart on the bad or undetermined classification, wherein the actioncomprises at least one of: delivering the received electroniccommunication in a folder selected based at least in part on theclassification, delivering the received electronic communication to anaccount selected based at least in part on the classification, holdingthe received electronic communication in a repository, forwarding thereceived electronic communication to a remote classifier, and forwardingthe received electronic communication for human review, wherein areputation score is maintained for a human reviewer, and wherein thereputation score indicates a review accuracy of the human reviewer; anda memory coupled to the one or more processors and configured to providethe one or more processors with instructions.
 2. The system of claim 1,wherein the generated entry includes the given email address.
 3. Thesystem of claim 1, wherein at least one entry in the whitelist isassociated with a benign service provider.
 4. The system of claim 1,wherein the classification is performed based at least in part onwhether the received electronic communication is associated with anindication of sender spoofing.
 5. The system of claim 1, wherein theclassification is performed based at least in part on informationassociated with a honeypot engine, wherein the honeypot engine isconfigured to collect fraudulent messages and corresponding senderinformation at least in part by generating traffic from one or morehoneypot accounts, collecting the traffic, and evaluating the traffic.6. The system of claim 1, wherein the generated entry includes afriendly location.
 7. The system of claim 6, wherein the friendlylocation is associated with a friendly email address.
 8. The system ofclaim 6, wherein the friendly location is indicated at least in part byat least one of IP blocks or subnets, a political designation, and adistance from a given location.
 9. A method, comprising: obtaininginformation associated with a plurality of electronic communicationsassociated with an entity; generating, in a whitelist, an entryincluding information associated with a given email address, wherein theentry including the information associated with the given email addressis generated based at least in part on a determination, from theobtained information associated with the plurality of electroniccommunications associated with the entity, that at least a thresholdnumber of electronic communications have been exchanged between theentity and the given email address, and that the at least thresholdnumber of emails were exchanged during a period of time that exceeds athreshold period of time; subsequent to generating the whitelist entry,receiving an electronic communication to be classified; and performing,using one or more processors, a classification of the receivedelectronic communication based at least in part on a determination ofwhether the received electronic communication corresponds to an entry inthe whitelist, wherein performing the classification includes assigningto the received electronic communication a single one of three differentclassifications according to a tertiary classification scheme, whereinthe three classifications include good, bad, and undetermined; based atleast in part on the bad or undetermined classification, changing theappearance of the received electronic communication by at least one of:redacting a first portion of the received electronic communication,textually or visually clarifying the received electronic communication,highlighting a second portion of the received electronic communication,and marking the message as highly suspicious; wherein the one or moreprocessors are further configured to perform an action based at least inpart on the bad or undetermined classification, wherein the actioncomprises at least one of: delivering the received electroniccommunication in a folder selected based at least in part on theclassification, delivering the received electronic communication to anaccount selected based at least in part on the classification, holdingthe received electronic communication in a repository, forwarding thereceived electronic communication to a remote classifier, and forwardingthe received electronic communication for human review, wherein areputation score is maintained for a human reviewer, and wherein thereputation score indicates a review accuracy of the human reviewer. 10.The method of claim 9, wherein the generated entry includes the givenemail address.
 11. The method of claim 9, wherein at least one entry inthe whitelist is associated with a benign service provider.
 12. Themethod of claim 9, wherein the classification is performed based atleast in part on whether the received electronic communication isassociated with an indication of sender spoofing.
 13. The method ofclaim 9, wherein the classification is performed based at least in parton information associated with a honeypot engine, wherein the honeypotengine is configured to collect fraudulent messages and correspondingsender information at least in part by generating traffic from one ormore honeypot accounts, collecting the traffic, and evaluating thetraffic.
 14. The method of claim 9, wherein the generated entry includesa friendly location.
 15. The method of claim 14, wherein the friendlylocation is associated with a friendly email address.
 16. The method ofclaim 14, wherein the friendly location is indicated at least in part byat least one of IP blocks or subnets, a political designation, and adistance from a given location.
 17. A computer program product embodiedin a non-transitory computer readable storage medium and comprisingcomputer instructions for: obtaining information associated with aplurality of electronic communications associated with an entity;generating, in a whitelist, an entry including information associatedwith a given email address, wherein the entry including the informationassociated with the given email address is generated based at least inpart on a determination, from the obtained information associated withthe plurality of electronic communications associated with the entity,that at least a threshold number of electronic communications have beenexchanged between the entity and the given email address, and that theat least threshold number of emails were exchanged during a period oftime that exceeds a threshold period of time; subsequent to generatingthe whitelist entry, receiving an electronic communication to beclassified; and performing, using one or more processors, aclassification of the received electronic communication based at leastin part on a determination of whether the received electroniccommunication corresponds to an entry in the whitelist, whereinperforming the classification includes assigning to the receivedelectronic communication a single one of three different classificationsaccording to a tertiary classification scheme, wherein the threeclassifications include good, bad, and undetermined; based at least inpart on the bad or undetermined classification, changing the appearanceof the received electronic communication by at least one of: redacting afirst portion of the received electronic communication, textually orvisually clarifying the received electronic communication, highlightinga second portion of the received electronic communication, and markingthe message as highly suspicious; wherein the one or more processors arefurther configured to perform an action based at least in part on thebad or undetermined classification, wherein the action comprises atleast one of: delivering the received electronic communication in afolder selected based at least in part on the classification, deliveringthe received electronic communication to an account selected based atleast in part on the classification, holding the received electroniccommunication in a repository, forwarding the received electroniccommunication to a remote classifier, and forwarding the receivedelectronic communication for human review, wherein a reputation score ismaintained for a human reviewer, and wherein the reputation scoreindicates a review accuracy of the human reviewer.